package demo1;

import java.util.Scanner;

public class Add {
    public int add(int a,int b) {
        Scanner scanner = new Scanner(System.in);
        a = scanner.nextInt();
        b = scanner.nextInt();
        return a+b;
    }
}
